package com.share.user.admin.pojos;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author 胡先生
 * @since 2024-11-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_role")
public class SysRole implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    private String roleName;


    private Integer roleStatus;


    private String roleKey;


    private String description;


    private String dataScopeType;


    private String moduleSubFunctionAccess;


    private Long inheritFromRoleId;


    private Long roleGroupId;


    private LocalDateTime validFrom;


    private LocalDateTime validTo;


    private LocalDateTime createdAt;


    private LocalDateTime updatedAt;


    private Long createdBy;


    private Long updatedBy;


}
